package P021_JudgeOddAndEven;

import org.junit.Test;

import java.util.Scanner;

/**
 * 用偶判断不用奇判断
 */
public class JudgeOddAndEven {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            int i = scanner.nextInt();
            System.out.println(i%2 == 0?"偶数":"奇数");
        }
    }

    /**
     * 被除数 - 被除数 / 除数 * 除数
     */
    @Test
    public void test1() {
        System.out.println(5-5/2*2);
        System.out.println(4-4/2*2);
        System.out.println(-1-(-1)/2*2);
        System.out.println(-3-(-2)/2*2);
    }
}
